package com.psp.sp.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 发送激活邮箱邮件
 **/
public class SendAtivateEmailParam {
	@NotEmpty(message = "邮箱不能为空")
	@Pattern(regexp = "^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$", message = "邮箱格式不正确！")
	private String email; // email

	public void setEmail(String email) {
 		this.email = email;
	}

	public String getEmail() {
 		return email;
	}

}
